Bookly\Lib\Entities\Payment B

Total Complexity 94
Dependencies 13
Dependents 21
Total lines 717
Lines of code 328
Logical lines of code 159
Comment lines 221
Methods 36
Properties 16

Methods 36

Method Rating Maintainability Complexity Lines of code
setDetailsFromOrder()
C
32 23 92
typeToString()
A
49 14 32
getPaymentData()
A
43 12 43
statusToString()
S
57 5 18
save()
S
60 4 13
paymentInfo()
S
59 3 13
typeToImage()
S
64 3 10
setCartInfo()
S
66 2 9
getStatus()
S
82 1 3
setUpdatedAt()
S
77 1 4
getUpdatedAt()
S
82 1 3
setCreatedAt()
S
77 1 4
getCreatedAt()
S
82 1 3
setRefId()
S
77 1 4
getRefId()
S
82 1 3
setDetails()
S
77 1 4
getDetails()
S
82 1 3
setToken()
S
77 1 4
getToken()
S
82 1 3
setStatus()
S
77 1 4
getPaidType()
S
82 1 3
setPaidType()
S
77 1 4
getCouponId()
S
82 1 3
setGatewayPriceCorrection()
S
77 1 4
setPaid()
S
77 1 4
getPaid()
S
82 1 3
setTax()
S
77 1 4
getTax()
S
82 1 3
setTotal()
S
77 1 4
getTotal()
S
82 1 3
setType()
S
77 1 4
getType()
S
82 1 3
setTarget()
S
77 1 4
getTarget()
S
82 1 3
setCouponId()
S
77 1 4
getGatewayPriceCorrection()
S
82 1 3